package cn.com.server.service.impl;

import cn.com.server.dao.WebLogsDao;
import cn.com.server.service.WebLogsService;
import cn.com.server.extend.model.WebLogsModel;
import cn.com.server.extend.view.WebLogsView;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;

/**
 * <p>
 * web日志表 服务实现类
 * </p>
 *
 * @author qing
 * @since 2017-11-22
 */
@Service
public class WebLogsServiceImp implements WebLogsService {
	
	@Autowired
	private WebLogsDao dao;
	
	
	@Override
	public Page<WebLogsView> selectWebLogsViewList(WebLogsModel model){
		PageHelper.startPage(model.getPage(), model.getLimit());
		return dao.selectWebLogsViewList(model);
		
	}

}
